page,
text,
view,
swiper,
image,
swiper-item,
cover-view,
cover-image,
navigator,
scroll-view {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

page {
    height: 100%;
    background-color: #f7f8fe;
}

page .container {
    height: 100%;
    font-size: 24rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: #333333;
}

page .container>scroll-view {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

image {
    width: 100%;
}

button {
    margin: 0;
    padding: 0;
    font-size: 28rpx;
    background-color: #fff;
}

button:active {
    opacity: 0.7;
}

input {
    padding: 0;
    margin: 0;
    outline: none;
}


/* #ifdef APP-PLUS ||MP-WEIXIN */


/*checkbox 选项框大小  */

checkbox .wx-checkbox-input {
    width: 30rpx;
    height: 30rpx;
    border-radius: 8rpx;
    color: #ffffff;
}


/*checkbox选中后样式  */

checkbox .wx-checkbox-input.wx-checkbox-input-checked {
    color: #fff;
    background: #ccc;
}

.edit-checkbox .wx-checkbox-input.wx-checkbox-input-checked {
    background: #666ee8;
}


/*checkbox选中后图标样式  */

checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
    width: 20rpx;
    height: 20rpx;
    line-height: 20rpx;
    text-align: center;
    font-size: 18rpx;
    color: #fff;
    background: transparent;
    transform: translate(-50%, -50%) scale(1.2);
    -webkit-transform: translate(-50%, -50%) scale(1.2);
}


/* checkbox 第二种样式 start */


/*checkbox 选项框大小  */

.switch .wx-checkbox-input {
    position: relative;
    width: 80rpx;
    height: 40rpx;
    border-radius: 40rpx;
    background-color: #ccc;
    transition: all 0.4s;
}

.switch .wx-checkbox-input::before {
    position: absolute;
    content: "";
    height: 32rpx;
    width: 32rpx;
    top: 50%;
    left: 5%;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: all 0.4s;
    transform: translateY(-50%);
    z-index: 1;
}


/*checkbox选中后样式  */

.switch .wx-checkbox-input.wx-checkbox-input-checked {
    background-color: #2196f3;
}


/*checkbox选中后图标样式  */

.switch .wx-checkbox-input.wx-checkbox-input-checked::before {
    position: absolute;
    content: "";
    height: 32rpx;
    width: 32rpx;
    top: 50%;
    left: 95%;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: all 0.4s;
    transform: translate(-100%, -50%);
}


/* checkbox 第二种样式 end */


/*radio 选项框大小  */

radio .wx-radio-input {
    width: 32rpx;
    height: 32rpx;
    border-radius: 50%;
    border: 2rpx solid #707070;
    background-color: #fff;
}


/*radio选中后样式  */

radio .wx-radio-input.wx-radio-input-checked {
    border-color: #666ee8;
    background-color: #fff;
}


/*radio选中后图标样式  */

radio .wx-radio-input.wx-radio-input-checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20rpx;
    height: 20rpx;
    border-radius: 50%;
    background-color: #666ee8;
    transform: translate(-50%, -50%);
}


/* #endif */


/* tabbar 页面高度 */

.tab-bar {
    height: calc(100% - 128rpx) !important;
}